/*
 * Copyright (c) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http':'//www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

export class charKeyInfo {
 title: string
 constructor(title: string) {
  this.title = title;
 }
}



//实例化对象
export class PhraseInfo {
 phrase: string; // 拼音
 words: string; // 中文
 constructor(py: string, chi: string) {
  this.phrase = py;
  this.words = chi;
 }
}

//根据第一个文字的拼音去联想所有相关的词语 目前没有做到所有拼音的词语联想
export const ePhraseArr: any[] =[ {'phrase':'e','words':'阿,妸,妿,娿,婀,屙,痾,讹,吪,囮,迗,俄,峉,哦,娥,峨,峩,涐,莪,珴,訛,䄉,皒,睋,鈋,锇,鹅,㼰,䖸,蛾,磀,誐,鋨,頟,额,魤,㼂,䳗,䳘,額,鵝,鵞,䕏,䩹,譌,䱮,枙,娿,恶,砨,㼢,惡,頋,噁,騀,鵈,厄,戹,歺,岋,阨,呃,扼,苊,阸,㧖,呝,枙,砐,轭,䆓,咢,咹,垩,姶,洝,砈,䑥,䙳,匎,恶,敋,蚅,饿,㓵,㡋,偔,卾,堊,娾,悪,硆,谔,軛,鄂,阏,㔩,㕎,㖾,㗁,㗉,㟧,㱦,㷈,䑪,䝈,堨,堮,崿,惡,愕,湂,萼,豟,軶,遌,遏,鈪,㮙,䓊,䛖,䞩,廅,搕,搤,搹,琧,痷,腭,僫,蝁,锷,鹗,㠋,㦍,䣞,蕚,遻,頞,颚,餓,噩,擜,覨,諤,閼,餩,鍔,鳄,䔾,歞,顎,礘,䳬,櫮,鰐,鶚,鰪,㩵,讍,齃,鑩,齶,䫷,鱷'},
                                  {'phrase':'ei','words':'诶,欸,誒'},
                                  {'phrase':'en','words':'奀,恩,蒽,煾,峎,䅰,摁,䊐,䬶,䭓,䭡'},
                                  {'phrase':'er','words':'儿,而,児,杒,侕,兒,陑,㖇,㧫,䎟,䎠,峏,洏,耏,荋,栭,胹,唲,梕,袻,鸸,粫,聏,㮕,輀,䋩,鲕,㜨,隭,髵,鮞,鴯,䮘,轜,尒,尓,尔,耳,㚷,迩,洱,饵,栮,毦,珥,铒,㢽,䋙,䌺,衈,爾,鉺,餌,駬,薾,邇,趰,二,弍,弐,佴,刵,㛅,咡,贰,䏪,䎶,貮,貳,䣵,誀,㒃,樲,髶'},
                                  {'phrase':'eng','words':'鞥'},];

//实例化对象
export class NeedPhraseWords {
 pinyin: string; // 拼音
 phrase: string; // 中文
 constructor(py: string, chi: string) {
  this.pinyin = py;
  this.phrase = chi;
 }
}